
#include "dmDBBaseGlobals.h"

#pragma once

namespace DM
{

	class DirectoryInternals;


	class DMDB_BASE_API Directory
	{
	public:
		Directory();
		~Directory();

		bool Load(const char*,const char* ext=NULL);

		unsigned long GetNumberOfFiles() const;

		static unsigned long GetNumberOfFilesInDirectory(const char*);

		const char* GetFile(unsigned long) const;

		const char* GetPath() const;

		void Clear();

	private:
		DirectoryInternals* Internal;

		Directory(const Directory&);  // Not implemented.
		void operator=(const Directory&);  // Not implemented.
	}; // Directory

} // namespace DM

